package tests;

import common.AutoTestUtil;

import java.io.IOException;

public class runCase {
    public static void main(String[] args) throws IOException, InterruptedException {

        PageNologinAutoTest pageNologinAutoTest=new PageNologinAutoTest();
        pageNologinAutoTest.pageNoLoginTest();

        LoginTest loginTest=new LoginTest();
        loginTest.checkLoginFunction();

        SignUpTest signUpTest=new SignUpTest();
        signUpTest.checkRegister();

        EditArticleTest editArticleTest=new EditArticleTest();
        editArticleTest.editArticleTest();
        AutoTestUtil.driver.quit();

        ArticleDetailTest articleDetailTest=new ArticleDetailTest();
        articleDetailTest.articleDetailTest();
        articleDetailTest.checkLikeFunction();
        articleDetailTest.checkUpdateFunction();
        articleDetailTest.deleteFunction();
        AutoTestUtil.driver.quit();

    }
}
